package com.csc.finalproject.dao;

import java.util.List;
import java.util.Map;

import com.csc.finalproject.domain.AccountInfo;

public interface AccountInfoDAO extends GenericDAO<AccountInfo> {

	/**
	 * fucntion get all account by state id
	 * 
	 * @param stateId
	 * @return list account have that state
	 */
	public List<AccountInfo> getAccountsByState(int stateId);

	public List<AccountInfo> search(String accountNumber);

	public List<AccountInfo> searchAdvance(Map<String, String> map);
}
